<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>项目</title>
		<link rel="stylesheet" href="css_js/css/bootstrap.min.css" />
		<link rel="stylesheet" href="dist/css/budProject.css" />
		<link rel="stylesheet" href="dist/css/common.css" />
	</head>
	<body ng-app="budProjectApp" ng-controller="budProjectCtrl">
		<div class="bg_color">
			<nav class="navbar text-center">
				<div class="nav_stat">
					
				</div>
				<div class="nav_body">
					<img ng-click="go_back()" class="pull-left btn_top_left" src="dist/images/point/left.png">
					<span class="tit_title">项&nbsp;目</span>
					<span class="btn_top_right" ng-click="show_add()">
						<div class="nav_box">
							<button class="btn_border">+增加</button>
						</div>
					</span>
				</div>
			</nav>
			<section>
				<div class="tab_list" >
			        <ul class="info_mul">
			        	<li class="" ng-repeat="obj in constList">
							<div class="info_mul_box">
								<a href="" class="clearfix">
									<span class="pull-left span_list_one">{{obj.name}}</span>
									<span class="pull-right span_list_one">{{obj.time}}</span>
								</a>
							</div>
							<div class="sub_div">
								<ul class="ul_list">
									<li>
										<ul class="clearfix sub_ul">
											<li class="pull-left">
												<span class="device_font">项目载体：</span>
											</li>
											<li class="fix_height">
												<span class="device_des">{{obj.content}}</span>
											</li>
										</ul>
									</li>
								</ul>
							</div>
							<div class="sub_last_div clearfix">		
								<div class="form-group pull-right">
									<button class="pass_border" ng-click = "show_addbud()">增加预算和成本</button>
									<button class="pass pass_green" ng-click="show_edit(obj)">修改</button>
								</div>				
							</div>
						</li>
			        </ul>
			    </div>
			</section>
			<!-- addbox start-->
			<div class="modal fade" id="addbox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
			    <div class="modal-dialog modal_dialog">
			        <div class="modal-content">
			            <div class="modal-header">
			                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> 
			            </div>
			            <div class="modal-body">
			                <form class="form-horizontal">
			                    <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">项目名称</label>
			                        <input type="text"class="form-control"/>
			                    </div>
			                    <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">项目地址</label>
			                        <input type="text"class="form-control"/>
			                    </div>
			                    <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">项目载体</label>
			                        <input type="text"class="form-control"/>
			                    </div>     
			                </form>
			            </div>
			            <div class="modal-footer modal_footer">
			                <button type="button" class="submit_btn pass_green bold_label" ng-click="sure_add()">立即创建</button>
			            </div>
			        </div>
			    </div>
			</div>
    		<!-- addbox end-->
    		<!-- addbudbox start-->
			<div class="modal fade" id="addbudbox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
			    <div class="modal-dialog modal_dialog">
			        <div class="modal-content">
			            <div class="modal-header">
			                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> 
			            </div>
			            <div class="modal-body">
			                <form class="form-horizontal">
			                    <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">设计值</label>
			                        <input type="text"class="form-control"/>
			                    </div>
			                    <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">换算值</label>
			                        <input type="text"class="form-control"/>
			                    </div>
			                     <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">实际用量</label>
			                        <input type="text"class="form-control"/>
			                    </div> 
			                </form>               
			            </div>
			            <div class="modal-footer modal_footer">
			                <button class="submit_btn pass_green bold_label" ng-click="sure_addbud()">立即增加</button>
			            </div>
			        </div>
			    </div>
			</div>
    		<!-- addbudbox end-->
    		<!-- editbox start-->
			<div class="modal fade" id="editbox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
			    <div class="modal-dialog modal_dialog">
			        <div class="modal-content">
			            <div class="modal-header">
			                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> 
			            </div>
			            <div class="modal-body">
			                <form class="form-horizontal">
			                    <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">项目名称</label>
									 <input type="text" ng-model="editobj.name" class="form-control"/>
			                    </div>
			                    <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">项目地址</label>
			                        <input type="text"  class="form-control"/>
			                    </div>
			                     <div class="form-group">
			                        <label class="bold_label control-label col-xs-3">项目载体</label>
			                        <input type="text"  class="form-control"/>
			                    </div> 
			                </form>               
			            </div>
			            <div class="modal-footer modal_footer">
			                <button class="submit_btn pass_green bold_label" ng-click="sure_edit()">立即修改</button>
			            </div>
			        </div>
			    </div>
			</div>
    		<!-- editbox end-->
		</div>
		<script src="css_js/js/jquery.min.js"></script>
		<script src="css_js/js/angular.min.js"></script>
		<script src="css_js/js/bootstrap.min.js"></script>
		<script src="dist/controller/budProjectCtrl.js"></script>
	</body>
</html>